home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / graphic / 3dedb09.zip / 3D.DOC next >
Text File  |  1993-05-17  |  38KB  |  1,009 lines

  1.  
  2.  
  3.                                                                           
  4.  
  5.  
  6.       
  7.       
  8.       
  9.                               3DEDIT 
  10.                           BETA-VERSION 0.8
  11.                   
  12.       
  13.                   IF YOU HAVE ANY QUESTIONS,SUGGESTIONS,CRITISM OR
  14.                   SOMETHING ELSE YOU MIGHT WANT TO SAY ABOUT
  15.                   3DEDIT, YOU MAY REACH US AT
  16.       
  17.                   INTERNET: ERIK-TAM@SATURN.DSV.SU.SE
  18.                   
  19.                   MAIL:   HUMAN SOFTWARE BRÖTV.42 161 39 BROMMA
  20.                           SWEDEN
  21.                   
  22.                   PLEASE LET US NOW YOUR OPINION.
  23.       
  24.                   A REAL MANUAL WILL BE RELEASED WITH THE NON-BETA
  25.                   VERSION.  THIS DOCUMENT IS REWRITTEN AND
  26.                   ENLARGED ALL OF THE TIME CONTACT US FOR THE
  27.                   LATEST VERSION.
  28.                   
  29.       
  30.       
  31.       
  32.       
  33.       
  34.       
  35.       
  36.       
  37.       
  38.       
  39.       
  40.       
  41.       
  42.       
  43.       
  44.       
  45.       
  46.       
  47.       
  48.       
  49.       
  50.       
  51.       
  52.       
  53.       
  54.       
  55.       
  56.       
  57.       
  58.       
  59.       
  60.       
  61.       
  62.  
  63.  
  64.                                       -1-                                 
  65.  
  66.  
  67.  
  68.  
  69.                                                                           
  70.  
  71.  
  72.       
  73.       
  74.       
  75.       
  76.                               CONTENTS
  77.       
  78.       
  79.               1.BEFORE YOU START.  .  .  .  .  .  .   .   3
  80.               A. What do I need?.  .  .  .  .  .  .   .   3
  81.               B. What is 3dedit?.  .  .  .  .  .  .   .   3
  82.               
  83.               2.3D-GRAPHICS A SHORT INTRODUCTION  .   .   3  
  84.               A.What is an object made of .   .   .   .   3
  85.               B.Points    .   .   .   .   .   .   .   .   3
  86.               C.Polygons  .   .   .   .   .   .   .   .   3
  87.               D.Hidden faces  .   .   .   .   .   .   .   4
  88.               E.Depth Sortint .   .   .   .   .   .   .   4
  89.               F.What do I read to learn more? .   .   .   4
  90.               
  91.               3.VIEWING THE BOAT A SMALL INTRODUCTION .   5
  92.               A.Starting 3dedit and loading the boat  .   5
  93.               B.The screen    .   .   .   .   .   .   .   5
  94.               B.The buttons   .   .   .   .   .   .   .   5
  95.               C.Moving the boat   .   .   .   .   .   .   5
  96.               D.Rotating the boat .   .   .   .   .   .   6
  97.               E.Leaving 3DEDIT    .   .   .   .   .   .   6
  98.        
  99.               3.CREATING A BOX-A QUICK START  .   .   .   6
  100.               A.Starting 3dedit   .   .   .   .   .   .   6
  101.               B.Show points   .   .   .   .   .   .   .   6
  102.               C.The first point   .   .   .   .   .   .   6
  103.               D.Moving the point  .   .   .   .   .   .   7
  104.               E.Creating a new point  .   .   .   .   .   7
  105.               F.To change an AS to another point  .   .   7
  106.               G.To create a polygon   .   .   .   .   .   7
  107.               h.Changing the view .   .   .   .   .   .   8
  108.               i.The backside of the box   .   .   .   .   8
  109.               j.Creating the rest of the cube .   .   .   9
  110.               
  111.               5.CREATING AN OBJECT    .   .   .   .   .   9
  112.               A.Creating points   .   .   .   .   .   .   9
  113.               B.Moving points .   .   .   .   .   .   .   9
  114.               C.Selecting points  .   .   .   .   .   .   9
  115.               D.Destroying points .   .   .   .   .   .   9
  116.               E.Viewing all points    .   .   .   .   .  10
  117.               F.Creating a polygon    .   .   .   .   .  10
  118.               G.Selecting a color .   .   .   .   .   .  10
  119.               H.Selecting a shape .   .   .   .   .   .  10
  120.               I.No backface - Clockwise order .   .   .  11
  121.               J.Back-face polygons    .   .   .   .   .  11
  122.               K.Destroying a polygon  .   .   .   .   .  11
  123.               
  124.               4.THE PANEL AND THE BUTTONS .   .   .   .   7
  125.               6.LEGAL STUFF   .   .   .   .   .   .   .
  126.       
  127.       
  128.  
  129.  
  130.                                       -2-                                 
  131.  
  132.  
  133.  
  134.  
  135.                                                                           
  136.  
  137.  
  138.       
  139.       
  140.       
  141.                          -BEFORE YOU START-
  142.                           
  143.       
  144.                           WHAT DO I NEED?
  145.       
  146.       You need an 100% IBM-compatiable PC with a 286 processor or
  147.       higher with VGA-card and a mouse.  Note that the VGA-card
  148.       must be truly register compatible with the orginal VGA-card
  149.       from IBM.
  150.       
  151.                           WHAT IS 3DEDIT?
  152.       
  153.       3dedit is an application designed to make 3ddesign easy and
  154.       smooth.  3dedit uses polygon-based graphics, which means
  155.       that each object is made of colorfilled polygons.  You've
  156.       probably seen it in flight simulators etc.  3dedit is a part
  157.       of the polyworld package, which is a C-library together with
  158.       tools, made to make true 3d-graphics available to the
  159.       C-programmer.  A Turbo Pascal version may appear later.
  160.       3dedit creates and saves objects in a format that G3DLIB can
  161.       use.  Create your own F15, Driving game etc.
  162.       
  163.       
  164.                       3D-GRAPHICS A SHORT INTRODUCTION
  165.       
  166.       If you have some knowledge about 3d-graphics, you might skip
  167.       this part.  3D graphics is in short, to manipulate a model
  168.       of a 3dimensional object, or group of objects, and view it
  169.       on a 2dimensional screen.  At least, thats whats we are
  170.       concerned with.  In this context we will call an model of an
  171.       3d-object just 'OBJECT'.
  172.       
  173.       
  174.                           WHAT IS AN OBJECT MADE OF
  175.       
  176.       An object in 3dedit is defined by points and polygons.  Each
  177.       polygon is defined by a number of points in the object.
  178.       This is easier than it sounds, you just have to look at a
  179.       regular flight simulator to know what I mean.  For an
  180.       example, a box is defined by its eigth corners(the points)
  181.       and its six sides(the polygons).
  182.       
  183.                           POINTS
  184.       
  185.       A point is located in the 3dspace by its coordinates along
  186.       the three axis, X-Y-Z.  The Z-axis is the axis thats goes
  187.       'into' the screen.  In 3dedit, you never have to be concerd
  188.       with the actual coordinates of a point.
  189.       
  190.                           POLYGONS
  191.       
  192.       The polygons are defined by points.  In 3dedit you use 2
  193.       types of polyons, triangles and quadron(with 4 corners).  A
  194.  
  195.  
  196.                                       -3-                                 
  197.  
  198.  
  199.  
  200.  
  201.                                                                           
  202.  
  203.  
  204.       face of an object can be made up of many polygons.
  205.       
  206.                                      
  207.                           HIDDEN FACES
  208.       
  209.       When you view an 3demonsional object, all faces are never
  210.       seen at the same time.  If you take an box, you can at most
  211.       see three faces of it at one time.  This is quite important
  212.       in 3d-graphics, because the computer has to know when to
  213.       show a face or not.  3dedit uses a techinque called backface
  214.       culling to evaluate which polygons to show and which to
  215.       hide.  To let 3dedit know this, certain steps must be taken
  216.       when you create an polygon.
  217.       
  218.       
  219.                           DEPTH SORTING
  220.       
  221.       Since the polygons in an object often overlap each other
  222.       when the object is displayed, the polygons have to be sorted
  223.       in order according to the distance from the viewer, before
  224.       they are drawn.  After that, they are drawn in reverse
  225.       order, beginning with the ones that's most far from the
  226.       viewer.  This is called the painters algoritm.  The trouble
  227.       is that you must choose a point to use as the basis of the
  228.       sorting.  In 3d3dit you have 3 different sort-modes that you
  229.       have to decide which to use for each polygon.  This may
  230.       sound a bit complicated but trying the different modes
  231.       should make you get it.
  232.       
  233.       
  234.